<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.9.1"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>Doxygen: pcl::visualization::Window类 参考</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtreedata.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">Doxygen
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- 制作者 Doxygen 1.9.1 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
var searchBox = new SearchBox("searchBox", "search",false,'搜索','.html');
/* @license-end */
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(function() {
  initMenu('',true,false,'search.php','搜索');
  $(document).ready(function() { init_search(); });
});
/* @license-end */</script>
<div id="main-nav"></div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
      <div id="nav-sync" class="sync"></div>
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(document).ready(function(){initNavTree('classpcl_1_1visualization_1_1_window.html',''); initResizable(); });
/* @license-end */
</script>
<div id="doc-content">
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div class="header">
  <div class="summary">
<a href="#nested-classes">类</a> &#124;
<a href="#pub-methods">Public 成员函数</a> &#124;
<a href="#pro-methods">Protected 成员函数</a> &#124;
<a href="#pro-static-methods">静态 Protected 成员函数</a> &#124;
<a href="#pro-attribs">Protected 属性</a> &#124;
<a href="classpcl_1_1visualization_1_1_window-members.html">所有成员列表</a>  </div>
  <div class="headertitle">
<div class="title">pcl::visualization::Window类 参考</div>  </div>
</div><!--header-->
<div class="contents">
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="nested-classes"></a>
类</h2></td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">struct &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structpcl_1_1visualization_1_1_window_1_1_exit_callback.html">ExitCallback</a></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">struct &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structpcl_1_1visualization_1_1_window_1_1_exit_main_loop_timer_callback.html">ExitMainLoopTimerCallback</a></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
Public 成员函数</h2></td></tr>
<tr class="memitem:a13a6864f28751caec5d5fdbe47bf0170"><td class="memItemLeft" align="right" valign="top"><a id="a13a6864f28751caec5d5fdbe47bf0170"></a>
&#160;</td><td class="memItemRight" valign="bottom"><b>Window</b> (const std::string &amp;window_name=&quot;&quot;)</td></tr>
<tr class="separator:a13a6864f28751caec5d5fdbe47bf0170"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab692e668bc0e244eecb4b4c8c7acd265"><td class="memItemLeft" align="right" valign="top"><a id="ab692e668bc0e244eecb4b4c8c7acd265"></a>
&#160;</td><td class="memItemRight" valign="bottom"><b>Window</b> (const <a class="el" href="classpcl_1_1visualization_1_1_window.html">Window</a> &amp;src)</td></tr>
<tr class="separator:ab692e668bc0e244eecb4b4c8c7acd265"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad68a4cf55ba2d2a4312b78486d491128"><td class="memItemLeft" align="right" valign="top"><a id="ad68a4cf55ba2d2a4312b78486d491128"></a>
<a class="el" href="classpcl_1_1visualization_1_1_window.html">Window</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><b>operator=</b> (const <a class="el" href="classpcl_1_1visualization_1_1_window.html">Window</a> &amp;src)</td></tr>
<tr class="separator:ad68a4cf55ba2d2a4312b78486d491128"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a72836336b46b069a88f4eb208ccf7a88"><td class="memItemLeft" align="right" valign="top"><a id="a72836336b46b069a88f4eb208ccf7a88"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classpcl_1_1visualization_1_1_window.html#a72836336b46b069a88f4eb208ccf7a88">spin</a> ()</td></tr>
<tr class="memdesc:a72836336b46b069a88f4eb208ccf7a88"><td class="mdescLeft">&#160;</td><td class="mdescRight">Spin method. Calls the interactor and runs an internal loop. <br /></td></tr>
<tr class="separator:a72836336b46b069a88f4eb208ccf7a88"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a3496f6ca5c45d6b42dac01acd9d2714e"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classpcl_1_1visualization_1_1_window.html#a3496f6ca5c45d6b42dac01acd9d2714e">spinOnce</a> (int time=1, bool force_redraw=false)</td></tr>
<tr class="memdesc:a3496f6ca5c45d6b42dac01acd9d2714e"><td class="mdescLeft">&#160;</td><td class="mdescRight">Spin once method. Calls the interactor and updates the screen once.  <a href="classpcl_1_1visualization_1_1_window.html#a3496f6ca5c45d6b42dac01acd9d2714e">更多...</a><br /></td></tr>
<tr class="separator:a3496f6ca5c45d6b42dac01acd9d2714e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aedb9501939922b69229615ccc13c2368"><td class="memItemLeft" align="right" valign="top"><a id="aedb9501939922b69229615ccc13c2368"></a>
bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classpcl_1_1visualization_1_1_window.html#aedb9501939922b69229615ccc13c2368">wasStopped</a> () const</td></tr>
<tr class="memdesc:aedb9501939922b69229615ccc13c2368"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns true when the user tried to close the window <br /></td></tr>
<tr class="separator:aedb9501939922b69229615ccc13c2368"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:add1803183c9ce5eddf64d60a697c1cad"><td class="memItemLeft" align="right" valign="top">boost::signals2::connection&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classpcl_1_1visualization_1_1_window.html#add1803183c9ce5eddf64d60a697c1cad">registerKeyboardCallback</a> (void(*callback)(const <a class="el" href="classpcl_1_1visualization_1_1_keyboard_event.html">pcl::visualization::KeyboardEvent</a> &amp;, void *), void *cookie=NULL)</td></tr>
<tr class="memdesc:add1803183c9ce5eddf64d60a697c1cad"><td class="mdescLeft">&#160;</td><td class="mdescRight">registering a callback function for keyboard events  <a href="classpcl_1_1visualization_1_1_window.html#add1803183c9ce5eddf64d60a697c1cad">更多...</a><br /></td></tr>
<tr class="separator:add1803183c9ce5eddf64d60a697c1cad"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0f01241f8de733cac5e66a14f53daf73"><td class="memTemplParams" colspan="2">template&lt;typename T &gt; </td></tr>
<tr class="memitem:a0f01241f8de733cac5e66a14f53daf73"><td class="memTemplItemLeft" align="right" valign="top">boost::signals2::connection&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="classpcl_1_1visualization_1_1_window.html#a0f01241f8de733cac5e66a14f53daf73">registerKeyboardCallback</a> (void(T::*callback)(const <a class="el" href="classpcl_1_1visualization_1_1_keyboard_event.html">pcl::visualization::KeyboardEvent</a> &amp;, void *), T &amp;instance, void *cookie=NULL)</td></tr>
<tr class="memdesc:a0f01241f8de733cac5e66a14f53daf73"><td class="mdescLeft">&#160;</td><td class="mdescRight">registering a callback function for keyboard events  <a href="classpcl_1_1visualization_1_1_window.html#a0f01241f8de733cac5e66a14f53daf73">更多...</a><br /></td></tr>
<tr class="separator:a0f01241f8de733cac5e66a14f53daf73"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a1a87270df8cb18aca6fc3164b8347775"><td class="memItemLeft" align="right" valign="top">boost::signals2::connection&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classpcl_1_1visualization_1_1_window.html#a1a87270df8cb18aca6fc3164b8347775">registerMouseCallback</a> (void(*callback)(const <a class="el" href="classpcl_1_1visualization_1_1_mouse_event.html">pcl::visualization::MouseEvent</a> &amp;, void *), void *cookie=NULL)</td></tr>
<tr class="separator:a1a87270df8cb18aca6fc3164b8347775"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a24099967f841e64145a9a2dc16f3fea3"><td class="memTemplParams" colspan="2">template&lt;typename T &gt; </td></tr>
<tr class="memitem:a24099967f841e64145a9a2dc16f3fea3"><td class="memTemplItemLeft" align="right" valign="top">boost::signals2::connection&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="classpcl_1_1visualization_1_1_window.html#a24099967f841e64145a9a2dc16f3fea3">registerMouseCallback</a> (void(T::*callback)(const <a class="el" href="classpcl_1_1visualization_1_1_mouse_event.html">pcl::visualization::MouseEvent</a> &amp;, void *), T &amp;instance, void *cookie=NULL)</td></tr>
<tr class="memdesc:a24099967f841e64145a9a2dc16f3fea3"><td class="mdescLeft">&#160;</td><td class="mdescRight">registering a callback function for mouse events  <a href="classpcl_1_1visualization_1_1_window.html#a24099967f841e64145a9a2dc16f3fea3">更多...</a><br /></td></tr>
<tr class="separator:a24099967f841e64145a9a2dc16f3fea3"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pro-methods"></a>
Protected 成员函数</h2></td></tr>
<tr class="memitem:afc1ed0867b78ce7cc9353920fc38210a"><td class="memItemLeft" align="right" valign="top"><a id="afc1ed0867b78ce7cc9353920fc38210a"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classpcl_1_1visualization_1_1_window.html#afc1ed0867b78ce7cc9353920fc38210a">resetStoppedFlag</a> ()</td></tr>
<tr class="memdesc:afc1ed0867b78ce7cc9353920fc38210a"><td class="mdescLeft">&#160;</td><td class="mdescRight">Set the stopped flag back to false <br /></td></tr>
<tr class="separator:afc1ed0867b78ce7cc9353920fc38210a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a753e9e7ce6b7f16bac4bde743c9e183d"><td class="memItemLeft" align="right" valign="top">boost::signals2::connection&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classpcl_1_1visualization_1_1_window.html#a753e9e7ce6b7f16bac4bde743c9e183d">registerMouseCallback</a> (boost::function&lt; void(const <a class="el" href="classpcl_1_1visualization_1_1_mouse_event.html">pcl::visualization::MouseEvent</a> &amp;)&gt;)</td></tr>
<tr class="memdesc:a753e9e7ce6b7f16bac4bde743c9e183d"><td class="mdescLeft">&#160;</td><td class="mdescRight">registering a callback function for mouse events  <a href="classpcl_1_1visualization_1_1_window.html#a753e9e7ce6b7f16bac4bde743c9e183d">更多...</a><br /></td></tr>
<tr class="separator:a753e9e7ce6b7f16bac4bde743c9e183d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a16fa08b71301766cac286be179e0bb33"><td class="memItemLeft" align="right" valign="top">boost::signals2::connection&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classpcl_1_1visualization_1_1_window.html#a16fa08b71301766cac286be179e0bb33">registerKeyboardCallback</a> (boost::function&lt; void(const <a class="el" href="classpcl_1_1visualization_1_1_keyboard_event.html">pcl::visualization::KeyboardEvent</a> &amp;)&gt;)</td></tr>
<tr class="memdesc:a16fa08b71301766cac286be179e0bb33"><td class="mdescLeft">&#160;</td><td class="mdescRight">registering a callback boost::function for keyboard events  <a href="classpcl_1_1visualization_1_1_window.html#a16fa08b71301766cac286be179e0bb33">更多...</a><br /></td></tr>
<tr class="separator:a16fa08b71301766cac286be179e0bb33"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a8a24f0b5bbdb5cb08fea2c69470e4378"><td class="memItemLeft" align="right" valign="top"><a id="a8a24f0b5bbdb5cb08fea2c69470e4378"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><b>emitMouseEvent</b> (unsigned long event_id)</td></tr>
<tr class="separator:a8a24f0b5bbdb5cb08fea2c69470e4378"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a553e732de10534739226cb37c3521a02"><td class="memItemLeft" align="right" valign="top"><a id="a553e732de10534739226cb37c3521a02"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><b>emitKeyboardEvent</b> (unsigned long event_id)</td></tr>
<tr class="separator:a553e732de10534739226cb37c3521a02"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pro-static-methods"></a>
静态 Protected 成员函数</h2></td></tr>
<tr class="memitem:a39baf39aa7555824ae4c55d632681349"><td class="memItemLeft" align="right" valign="top"><a id="a39baf39aa7555824ae4c55d632681349"></a>
static void&#160;</td><td class="memItemRight" valign="bottom"><b>MouseCallback</b> (vtkObject *, unsigned long eid, void *clientdata, void *calldata)</td></tr>
<tr class="separator:a39baf39aa7555824ae4c55d632681349"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a8fec4b8b2e510281280fff5ac84dd1d2"><td class="memItemLeft" align="right" valign="top"><a id="a8fec4b8b2e510281280fff5ac84dd1d2"></a>
static void&#160;</td><td class="memItemRight" valign="bottom"><b>KeyboardCallback</b> (vtkObject *, unsigned long eid, void *clientdata, void *calldata)</td></tr>
<tr class="separator:a8fec4b8b2e510281280fff5ac84dd1d2"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pro-attribs"></a>
Protected 属性</h2></td></tr>
<tr class="memitem:afecb8225061acc872c6f40a5326217da"><td class="memItemLeft" align="right" valign="top"><a id="afecb8225061acc872c6f40a5326217da"></a>
bool&#160;</td><td class="memItemRight" valign="bottom"><b>stopped_</b></td></tr>
<tr class="separator:afecb8225061acc872c6f40a5326217da"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4edd3fffef47db1e9be10569ec89aa68"><td class="memItemLeft" align="right" valign="top"><a id="a4edd3fffef47db1e9be10569ec89aa68"></a>
int&#160;</td><td class="memItemRight" valign="bottom"><b>timer_id_</b></td></tr>
<tr class="separator:a4edd3fffef47db1e9be10569ec89aa68"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a9073a63e9579de0c98121c2397e34402"><td class="memItemLeft" align="right" valign="top"><a id="a9073a63e9579de0c98121c2397e34402"></a>
boost::signals2::signal&lt; void(const <a class="el" href="classpcl_1_1visualization_1_1_mouse_event.html">pcl::visualization::MouseEvent</a> &amp;)&gt;&#160;</td><td class="memItemRight" valign="bottom"><b>mouse_signal_</b></td></tr>
<tr class="separator:a9073a63e9579de0c98121c2397e34402"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a901fcdd50e7ddc8bfdf1e91e4483a9a7"><td class="memItemLeft" align="right" valign="top"><a id="a901fcdd50e7ddc8bfdf1e91e4483a9a7"></a>
boost::signals2::signal&lt; void(const <a class="el" href="classpcl_1_1visualization_1_1_keyboard_event.html">pcl::visualization::KeyboardEvent</a> &amp;)&gt;&#160;</td><td class="memItemRight" valign="bottom"><b>keyboard_signal_</b></td></tr>
<tr class="separator:a901fcdd50e7ddc8bfdf1e91e4483a9a7"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad6dc2c8d86e75283ea03553ea1b92952"><td class="memItemLeft" align="right" valign="top"><a id="ad6dc2c8d86e75283ea03553ea1b92952"></a>
<a class="el" href="classvtk_smart_pointer.html">vtkSmartPointer</a>&lt; vtkRenderWindow &gt;&#160;</td><td class="memItemRight" valign="bottom"><b>win_</b></td></tr>
<tr class="separator:ad6dc2c8d86e75283ea03553ea1b92952"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a05ead8faf42883c92b4e881efd291044"><td class="memItemLeft" align="right" valign="top"><a id="a05ead8faf42883c92b4e881efd291044"></a>
<a class="el" href="classvtk_smart_pointer.html">vtkSmartPointer</a>&lt; vtkRenderWindowInteractor &gt;&#160;</td><td class="memItemRight" valign="bottom"><b>interactor_</b></td></tr>
<tr class="separator:a05ead8faf42883c92b4e881efd291044"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aeb8b4f452396ba81a222640980b64a34"><td class="memItemLeft" align="right" valign="top"><a id="aeb8b4f452396ba81a222640980b64a34"></a>
vtkCallbackCommand *&#160;</td><td class="memItemRight" valign="bottom"><b>mouse_command_</b></td></tr>
<tr class="separator:aeb8b4f452396ba81a222640980b64a34"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a98880ce63d2275fc51212a7dc0f519fd"><td class="memItemLeft" align="right" valign="top"><a id="a98880ce63d2275fc51212a7dc0f519fd"></a>
vtkCallbackCommand *&#160;</td><td class="memItemRight" valign="bottom"><b>keyboard_command_</b></td></tr>
<tr class="separator:a98880ce63d2275fc51212a7dc0f519fd"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac602d747378bd2c59cf8cf4b9174d5ce"><td class="memItemLeft" align="right" valign="top"><a id="ac602d747378bd2c59cf8cf4b9174d5ce"></a>
<a class="el" href="classvtk_smart_pointer.html">vtkSmartPointer</a>&lt; <a class="el" href="classpcl_1_1visualization_1_1_p_c_l_visualizer_interactor_style.html">PCLVisualizerInteractorStyle</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classpcl_1_1visualization_1_1_window.html#ac602d747378bd2c59cf8cf4b9174d5ce">style_</a></td></tr>
<tr class="memdesc:ac602d747378bd2c59cf8cf4b9174d5ce"><td class="mdescLeft">&#160;</td><td class="mdescRight">The render window interactor style. <br /></td></tr>
<tr class="separator:ac602d747378bd2c59cf8cf4b9174d5ce"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac165cf7ab62fe9984d195a0c227a0423"><td class="memItemLeft" align="right" valign="top"><a id="ac165cf7ab62fe9984d195a0c227a0423"></a>
<a class="el" href="classvtk_smart_pointer.html">vtkSmartPointer</a>&lt; vtkRendererCollection &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classpcl_1_1visualization_1_1_window.html#ac165cf7ab62fe9984d195a0c227a0423">rens_</a></td></tr>
<tr class="memdesc:ac165cf7ab62fe9984d195a0c227a0423"><td class="mdescLeft">&#160;</td><td class="mdescRight">The collection of renderers used. <br /></td></tr>
<tr class="separator:ac165cf7ab62fe9984d195a0c227a0423"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a87e5d54983695ca5d70570947cbde3c9"><td class="memItemLeft" align="right" valign="top"><a id="a87e5d54983695ca5d70570947cbde3c9"></a>
<a class="el" href="classvtk_smart_pointer.html">vtkSmartPointer</a>&lt; <a class="el" href="structpcl_1_1visualization_1_1_window_1_1_exit_main_loop_timer_callback.html">ExitMainLoopTimerCallback</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><b>exit_main_loop_timer_callback_</b></td></tr>
<tr class="separator:a87e5d54983695ca5d70570947cbde3c9"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4d1f51b78841318ab348a9875233e115"><td class="memItemLeft" align="right" valign="top"><a id="a4d1f51b78841318ab348a9875233e115"></a>
<a class="el" href="classvtk_smart_pointer.html">vtkSmartPointer</a>&lt; <a class="el" href="structpcl_1_1visualization_1_1_window_1_1_exit_callback.html">ExitCallback</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><b>exit_callback_</b></td></tr>
<tr class="separator:a4d1f51b78841318ab348a9875233e115"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<h2 class="groupheader">成员函数说明</h2>
<a id="a16fa08b71301766cac286be179e0bb33"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a16fa08b71301766cac286be179e0bb33">&#9670;&nbsp;</a></span>registerKeyboardCallback() <span class="overload">[1/3]</span></h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">boost::signals2::connection pcl::visualization::Window::registerKeyboardCallback </td>
          <td>(</td>
          <td class="paramtype">boost::function&lt; void(const <a class="el" href="classpcl_1_1visualization_1_1_keyboard_event.html">pcl::visualization::KeyboardEvent</a> &amp;)&gt;&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">protected</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>registering a callback boost::function for keyboard events </p>
<dl class="section return"><dt>返回</dt><dd>connection object that allows to disconnect the callback function. </dd></dl>

</div>
</div>
<a id="add1803183c9ce5eddf64d60a697c1cad"></a>
<h2 class="memtitle"><span class="permalink"><a href="#add1803183c9ce5eddf64d60a697c1cad">&#9670;&nbsp;</a></span>registerKeyboardCallback() <span class="overload">[2/3]</span></h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">boost::signals2::connection pcl::visualization::Window::registerKeyboardCallback </td>
          <td>(</td>
          <td class="paramtype">void(*)(const <a class="el" href="classpcl_1_1visualization_1_1_keyboard_event.html">pcl::visualization::KeyboardEvent</a> &amp;, void *)&#160;</td>
          <td class="paramname"><em>callback</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">void *&#160;</td>
          <td class="paramname"><em>cookie</em> = <code>NULL</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>registering a callback function for keyboard events </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">callback</td><td>the function that will be registered as a callback for a keyboard event </td></tr>
    <tr><td class="paramname">cookie</td><td>user data that is passed to the callback </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>返回</dt><dd>connection object that allows to disconnect the callback function. </dd></dl>
<div class="fragment"><div class="line"><a name="l00096"></a><span class="lineno">   96</span>&#160;        {</div>
<div class="line"><a name="l00097"></a><span class="lineno">   97</span>&#160;          <span class="keywordflow">return</span> <a class="code" href="classpcl_1_1visualization_1_1_window.html#add1803183c9ce5eddf64d60a697c1cad">registerKeyboardCallback</a> (boost::bind (callback, _1, cookie));</div>
<div class="line"><a name="l00098"></a><span class="lineno">   98</span>&#160;        }</div>
<div class="ttc" id="aclasspcl_1_1visualization_1_1_window_html_add1803183c9ce5eddf64d60a697c1cad"><div class="ttname"><a href="classpcl_1_1visualization_1_1_window.html#add1803183c9ce5eddf64d60a697c1cad">pcl::visualization::Window::registerKeyboardCallback</a></div><div class="ttdeci">boost::signals2::connection registerKeyboardCallback(void(*callback)(const pcl::visualization::KeyboardEvent &amp;, void *), void *cookie=NULL)</div><div class="ttdoc">registering a callback function for keyboard events</div><div class="ttdef"><b>Definition:</b> window.h:94</div></div>
</div><!-- fragment -->
</div>
</div>
<a id="a0f01241f8de733cac5e66a14f53daf73"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a0f01241f8de733cac5e66a14f53daf73">&#9670;&nbsp;</a></span>registerKeyboardCallback() <span class="overload">[3/3]</span></h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename T &gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">boost::signals2::connection pcl::visualization::Window::registerKeyboardCallback </td>
          <td>(</td>
          <td class="paramtype">void(T::*)(const <a class="el" href="classpcl_1_1visualization_1_1_keyboard_event.html">pcl::visualization::KeyboardEvent</a> &amp;, void *)&#160;</td>
          <td class="paramname"><em>callback</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">T &amp;&#160;</td>
          <td class="paramname"><em>instance</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">void *&#160;</td>
          <td class="paramname"><em>cookie</em> = <code>NULL</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>registering a callback function for keyboard events </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">callback</td><td>the member function that will be registered as a callback for a keyboard event </td></tr>
    <tr><td class="paramname">instance</td><td>instance to the class that implements the callback function </td></tr>
    <tr><td class="paramname">cookie</td><td>user data that is passed to the callback </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>返回</dt><dd>connection object that allows to disconnect the callback function. </dd></dl>
<div class="fragment"><div class="line"><a name="l00110"></a><span class="lineno">  110</span>&#160;        {</div>
<div class="line"><a name="l00111"></a><span class="lineno">  111</span>&#160;          <span class="keywordflow">return</span> <a class="code" href="classpcl_1_1visualization_1_1_window.html#add1803183c9ce5eddf64d60a697c1cad">registerKeyboardCallback</a> (boost::bind (callback,  boost::ref (instance), _1, cookie));</div>
<div class="line"><a name="l00112"></a><span class="lineno">  112</span>&#160;        }</div>
</div><!-- fragment -->
</div>
</div>
<a id="a753e9e7ce6b7f16bac4bde743c9e183d"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a753e9e7ce6b7f16bac4bde743c9e183d">&#9670;&nbsp;</a></span>registerMouseCallback() <span class="overload">[1/3]</span></h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">boost::signals2::connection pcl::visualization::Window::registerMouseCallback </td>
          <td>(</td>
          <td class="paramtype">boost::function&lt; void(const <a class="el" href="classpcl_1_1visualization_1_1_mouse_event.html">pcl::visualization::MouseEvent</a> &amp;)&gt;&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">protected</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>registering a callback function for mouse events </p>
<dl class="section return"><dt>返回</dt><dd>connection object that allows to disconnect the callback function. </dd></dl>

</div>
</div>
<a id="a1a87270df8cb18aca6fc3164b8347775"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a1a87270df8cb18aca6fc3164b8347775">&#9670;&nbsp;</a></span>registerMouseCallback() <span class="overload">[2/3]</span></h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">boost::signals2::connection pcl::visualization::Window::registerMouseCallback </td>
          <td>(</td>
          <td class="paramtype">void(*)(const <a class="el" href="classpcl_1_1visualization_1_1_mouse_event.html">pcl::visualization::MouseEvent</a> &amp;, void *)&#160;</td>
          <td class="paramname"><em>callback</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">void *&#160;</td>
          <td class="paramname"><em>cookie</em> = <code>NULL</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">callback</td><td>the function that will be registered as a callback for a mouse event </td></tr>
    <tr><td class="paramname">cookie</td><td>user data that is passed to the callback </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>返回</dt><dd>connection object that allows to disconnect the callback function. </dd></dl>
<div class="fragment"><div class="line"><a name="l00123"></a><span class="lineno">  123</span>&#160;        {</div>
<div class="line"><a name="l00124"></a><span class="lineno">  124</span>&#160;          <span class="keywordflow">return</span> <a class="code" href="classpcl_1_1visualization_1_1_window.html#a1a87270df8cb18aca6fc3164b8347775">registerMouseCallback</a> (boost::bind (callback, _1, cookie));</div>
<div class="line"><a name="l00125"></a><span class="lineno">  125</span>&#160;        }</div>
<div class="ttc" id="aclasspcl_1_1visualization_1_1_window_html_a1a87270df8cb18aca6fc3164b8347775"><div class="ttname"><a href="classpcl_1_1visualization_1_1_window.html#a1a87270df8cb18aca6fc3164b8347775">pcl::visualization::Window::registerMouseCallback</a></div><div class="ttdeci">boost::signals2::connection registerMouseCallback(void(*callback)(const pcl::visualization::MouseEvent &amp;, void *), void *cookie=NULL)</div><div class="ttdef"><b>Definition:</b> window.h:121</div></div>
</div><!-- fragment -->
</div>
</div>
<a id="a24099967f841e64145a9a2dc16f3fea3"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a24099967f841e64145a9a2dc16f3fea3">&#9670;&nbsp;</a></span>registerMouseCallback() <span class="overload">[3/3]</span></h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename T &gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">boost::signals2::connection pcl::visualization::Window::registerMouseCallback </td>
          <td>(</td>
          <td class="paramtype">void(T::*)(const <a class="el" href="classpcl_1_1visualization_1_1_mouse_event.html">pcl::visualization::MouseEvent</a> &amp;, void *)&#160;</td>
          <td class="paramname"><em>callback</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">T &amp;&#160;</td>
          <td class="paramname"><em>instance</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">void *&#160;</td>
          <td class="paramname"><em>cookie</em> = <code>NULL</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>registering a callback function for mouse events </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">callback</td><td>the member function that will be registered as a callback for a mouse event </td></tr>
    <tr><td class="paramname">instance</td><td>instance to the class that implements the callback function </td></tr>
    <tr><td class="paramname">cookie</td><td>user data that is passed to the callback </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>返回</dt><dd>connection object that allows to disconnect the callback function. </dd></dl>
<div class="fragment"><div class="line"><a name="l00137"></a><span class="lineno">  137</span>&#160;        {</div>
<div class="line"><a name="l00138"></a><span class="lineno">  138</span>&#160;          <span class="keywordflow">return</span> <a class="code" href="classpcl_1_1visualization_1_1_window.html#a1a87270df8cb18aca6fc3164b8347775">registerMouseCallback</a> (boost::bind (callback, boost::ref (instance), _1, cookie));</div>
<div class="line"><a name="l00139"></a><span class="lineno">  139</span>&#160;        }</div>
</div><!-- fragment -->
</div>
</div>
<a id="a3496f6ca5c45d6b42dac01acd9d2714e"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a3496f6ca5c45d6b42dac01acd9d2714e">&#9670;&nbsp;</a></span>spinOnce()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void pcl::visualization::Window::spinOnce </td>
          <td>(</td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>time</em> = <code>1</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">bool&#160;</td>
          <td class="paramname"><em>force_redraw</em> = <code>false</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Spin once method. Calls the interactor and updates the screen once. </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">time</td><td>- How long (in ms) should the visualization loop be allowed to run. </td></tr>
    <tr><td class="paramname">force_redraw</td><td>- if false it might return without doing anything if the interactor's framerate does not require a redraw yet. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<hr/>该类的文档由以下文件生成:<ul>
<li>visualization/include/pcl/visualization/<a class="el" href="window_8h_source.html">window.h</a></li>
</ul>
</div><!-- contents -->
</div><!-- doc-content -->
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
  <ul>
    <li class="navelem"><b>pcl</b></li><li class="navelem"><b>visualization</b></li><li class="navelem"><a class="el" href="classpcl_1_1visualization_1_1_window.html">Window</a></li>
    <li class="footer">制作者 <a href="https://www.doxygen.org/index.html"><img class="footer" src="doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.1 </li>
  </ul>
</div>
</body>
</html>
